settings.tsx 701 B

12345678910111213141516171819
  1. import { StorageSettings } from '@/components/interfaces/Storage/StorageSettings/StorageSettings'
  2. import DefaultLayout from '@/components/layouts/DefaultLayout'
  3. import { StorageBucketsLayout } from '@/components/layouts/StorageLayout/StorageBucketsLayout'
  4. import StorageLayout from '@/components/layouts/StorageLayout/StorageLayout'
  5. import type { NextPageWithLayout } from '@/types'
  6. const FilesSettingsPage: NextPageWithLayout = () => {
  7. return <StorageSettings />
  8. }
  9. FilesSettingsPage.getLayout = (page) => (
  10. <DefaultLayout>
  11. <StorageLayout title="Settings">
  12. <StorageBucketsLayout>{page}</StorageBucketsLayout>
  13. </StorageLayout>
  14. </DefaultLayout>
  15. )
  16. export default FilesSettingsPage